<!-- side bar -->
<nav class="navbar-default navbar-static-side" role="navigation">
	<div class="sidebar-collapse">
		<ul class="nav metismenu" id="side-menu">
			<!-- Nav Headers -->
			<li class="nav-header">
        <div class="dropdown profile-element">
          <span>
            <img alt="image" class="img-circle" src="<%= image_url 'zero_cms/profile_small.jpg' %>" />
          </span>
          <a>
            <span class="clear">
            	<span class="block m-t-xs">
            		<strong class="font-bold">albert@zero.cn</strong>
            	</span>
            	<span class="text-muted text-xs block">Admin</span>
            </span>
          </a>
        </div>
        <div class="logo-element">
            Z-CMS
        </div>
      </li>
      <!-- dashboard of menu -->
      <li class="<%= is_active_controller('admin/dashboards') %>">
        <a>
          <i class="fa fa-th-large"></i>
          <span class="nav-label">Dashboard</span>
        </a>
      </li>
      <!-- users of menu -->
      <li class="<%= is_active_controller('admin/users') %>">
        <a href="#">
          <i class="fa fa-users"></i>
          <span class="nav-label">Users</span>
          <span class="fa arrow"></span>
        </a>
        <ul class="nav nav-second-level collapse <%= is_active_controller('users') %>">
          <li class="<%= is_active_action('index') %>">
            <a href="users">
              User List
            </a>
          </li>
          <li class="<%= is_active_action('new') %>">
            <a href="users/new">
              Create
            </a>
          </li>
          
        </ul>
      </li>
		</ul>
	</div>
</nav>